package cn.iocoder.yudao.module.system.controller.admin.roledevice.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 设备和角色关联新增/修改 Request VO")
@Data
public class RoleDeviceSaveReqVO {

    @Schema(description = "自增编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "321")
    private Long id;

    @Schema(description = "角色ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "20423")
    @NotNull(message = "角色ID不能为空")
    private Long roleId;

    @Schema(description = "设备ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "12346")
    @NotNull(message = "设备ID不能为空")
    private Long deviceId;

}